package com.example.groupmeal.dao;

import com.example.groupmeal.entity.TmsBanner;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface TmsBannerMapper {

     List<TmsBanner> findAllByTypeAndStatus(@Param("type") Byte type, @Param("status") Byte status);

     Integer insert(TmsBanner banner);
}
